package com.fanrui.code.entity;

import com.fanrui.code.entity.MahjongTableConfig;
import com.fanrui.code.entity.MahjongTableConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MahjongTableConfigMapper {
    long countByExample(MahjongTableConfigExample example);

    int deleteByExample(MahjongTableConfigExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MahjongTableConfig record);

    int insertSelective(MahjongTableConfig record);

    List<MahjongTableConfig> selectByExample(MahjongTableConfigExample example);

    MahjongTableConfig selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MahjongTableConfig record, @Param("example") MahjongTableConfigExample example);

    int updateByExample(@Param("record") MahjongTableConfig record, @Param("example") MahjongTableConfigExample example);

    int updateByPrimaryKeySelective(MahjongTableConfig record);

    int updateByPrimaryKey(MahjongTableConfig record);
    
    // 因为每次重新生成都要覆盖所以在这里备注
    List<MahjongTableConfig> selectAllItem();
}